#include<stdio.h> 
int  main()
{
  float c,F;
  scanf("%f",&F);
  c=5*(F-32)/9;
  printf("c=%0.2f",c);
  return 0;
}
